home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Tcl_StringMatch C Library Procedures Tcl_StringMatch
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- Tcl_StringMatch - test whether a string matches a pattern
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ttccll..hh>>
-
- int
- TTccll__SSttrriinnggMMaattcchh(_s_t_r_i_n_g, _p_a_t_t_e_r_n)
-
- AARRGGUUMMEENNTTSS
- char*_s_t_r_i_n_g(in)
- String to test.
-
- char*_p_a_t_t_e_r_n(in)
- Pattern to match against string. May contain special char-
- acters from the set *?\[].
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- This utility procedure determines whether a string matches a
- given pattern. If it does, then TTccll__SSttrriinnggMMaattcchh returns 1.
- Otherwise TTccll__SSttrriinnggMMaattcchh returns 0. The algorithm used for
- matching is the same algorithm used in the ``string match''
- Tcl command and is similar to the algorithm used by the C-
- shell for file name matching; see the Tcl manual entry for
- details.
-
-
- KKEEYYWWOORRDDSS
- match, pattern, string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v1.0 1
-
-
-
-